import Vue from 'vue';

import VueRouter from 'vue-router'
import CreateVueRouter from './config/router'
import App from './app.vue';

import "./assets/index.css"

Vue.use(VueRouter)

const router = CreateVueRouter()
// const root = document.createElement('div')
new Vue({
    router,
    components: {
        App
    },
    el: '#app',
    template: '<App/>'
})

// setInterval(() => {
//     app.$data.text = ++app.$data.text;
// }, 1000)

// app.$nextTick(() => {
//     console.log(123);
// })
